﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EBookStore.Users;
using System.Diagnostics;

namespace EBookStore.Books
{
    /// <summary>
    /// 
    /// </summary>
    [DebuggerDisplay("Text:{Text} Customer:{FirtName}")]
    public class BookComment
    {        
        string _text;

        User _user;

        public User User
        {
            get { return _user; }
        }
        Book _book;

        public Book Book
        {
            get { return _book; }       
        }

        public string Text { get { return _text;} }
        

        /// <summary>
        /// Book's comments.
        /// </summary>
        /// <param name="Customer"></param>
        public BookComment(Book Book, Users.User user, string Text)
        {
            _book = Book;
            _user = user;
            _text = Text;            
        }
        
    }
}
